<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="template.xhtml">

	<ui:define name="corpo">

		<!-- start: PAGE HEADER -->
		<div class="row">
			<div class="col-sm-12">

				<!-- start: PAGE TITLE & BREADCRUMB -->
				<ol class="breadcrumb">
					<li><i class="clip-radio-checked"></i> <a href="#"> CELULA </a></li>
				</ol>
				<div class="page-header">
					<h1>
						Nova Celula 
					</h1>
				</div>
				<!-- end: PAGE TITLE & BREADCRUMB -->
			</div>
		</div>
		<!-- end: PAGE HEADER -->

		<h:form id="form">
		
			<div class="row">
			<h:messages id="messages" showDetail="true" autoUpdate="true" closable="true" infoClass="alert alert-info col-sm-4"/>
			</div>
			
			<div class="col-sm-3">
			<h:outputText value="Numero da Celula:" />
			</div>
			<br /><br />
			<div class="col-sm-3">
			<h:inputText class="form-control" value="#{celulaController.celula.nrCelula}" />
			</div>
			<br />
			<br />
			<div class="col-sm-3" style="margin-top: 10px">
			<h:commandButton styleClass="btn btn-primary" id="salvar" value="Salvar" action="#{celulaController.salvar}" />
			</div>
		</h:form>

	</ui:define>

</ui:composition>

</html>
